package ch.bfh.abhmcm.SoftwareEngineeringAndDesign.model;

public class User {

	private String name;
	private String firstname;
	private String user_ID;
	
	public static String TC_NAME = "Name";
	public static String TC_FIRSTNAMENAME = "Vorname";
	public static String TC_DATE = "Datum";
	public static String TC_FUNKTION = "Rolle";
	public static String TC_PASSWORT = "Passwort";
	public static String TC_USERNAME = "Benutzer";

	public User() {

		// Nur solange das loggin nicht impementiert ist{
		this.name = "unknown";
		this.firstname = "unknown";
		this.user_ID = "developer";

	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFirstname() {
		return firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	public String getUser_ID() {
		return user_ID;
	}

	
	public void setUser_ID(String user_ID) {
		this.user_ID = user_ID;
	}

	public String getFullName(){
		return this.firstname + " "+ this.name;
	}
	@Override
	public String toString() {

		return "Name: " + this.name + "\r\n" + "Firstname: " + this.firstname
				+ "\r\n" + "User ID:  " + this.user_ID;
	}

	public static String getTcName() {
		return TC_NAME;
	}

	public static String getTC_FIRSTNAMENAME() {
		return TC_FIRSTNAMENAME;
	}

	public static String getTC_DATE() {
		return TC_DATE;
	}

	public static String getTC_FUNKTION() {
		return TC_FUNKTION;
	}

	public static String getTC_PASSWORT() {
		return TC_PASSWORT;
	}

	public static String getTC_NAME() {
		return TC_NAME;
	}

	public static String getTC_USERNAME() {
		return TC_USERNAME;
	}



	
}
